]> dgit.raspbian.org Git - gnome-shell.git/commit
status/keyboard: Simplify MRU list updates
authorMaksim Mazko <undeparg@gmail.com>
Fri, 6 Mar 2026 13:20:10 +0000 (16:20 +0300)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 17:49:13 +0000 (18:49 +0100)
commite9ed2c2c495238242e80cbacda5050a061a2b170
tree2ebddf193941c371d99ab3659687760ea4d45b11
parent31792abed86002ff42a1568d84b45f0b901a97e5
status/keyboard: Simplify MRU list updates

Rewrite the update logic to a more direct form, improving readability by
removing the manual iteration and list manipulation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4101>
(cherry picked from commit fcba3bd44ec0362a26f456ff1ba2321d6b16594c)
js/ui/status/keyboard.js